﻿Public Class LoaiNhanVienBUS

    Private empDAL As LoaiNhanVienDAO

    Public Sub New()
        empDAL = New LoaiNhanVienDAO
    End Sub

    Public Function Getdata() As List(Of LoaiNhanVienDTO)
        Return empDAL.Getdata()
    End Function

    Public Function IsUpLNV(ByVal emp As LoaiNhanVienDTO, ByVal f As Boolean) As Boolean
        Return empDAL.IsUpLNV(emp, f)
    End Function

    Public Function DeleteLNV(ByVal emp As LoaiNhanVienDTO)
        Return empDAL.DeleteLNV(emp)
    End Function

End Class
